#include<iostream>

class Test
{
    public:
    Test(int a)
    {
        std::cout<<"构造函数！\n";
        this->m_a=a;
    }
    void show()
    {   //this指针:指向当前对象
        printf("this :",this);
        std::cout<<this->m_a<<std::endl;
    }
    //静态成员函数没有this指针
    static void func()
    {

    }



    private:

    int m_a;
};


int main()
{
    Test t(1);
    printf("&t :%p\n",&t);
    t.show();

    


}